﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ARchGL.Platform.Core
{
    /// <summary>
    /// 组织架构扩展（部门）
    /// </summary>
    public class OrganizationUnitExtend : Abp.Organizations.OrganizationUnit
    {
        /// <summary>
        /// 组织（公司） GUID 标识
        /// </summary>
        public Guid PrimaryId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public virtual int Sort { get; set; }
        /// <summary>
        /// 级别
        /// </summary>
        public virtual int Level { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(500)]
        public virtual string Description { get; set; }
        /// <summary>
        /// 自定义实体类名称（OrganizationUnitExtend）
        /// </summary>
        [MaxLength(22)]
        private string Discriminator { get { return "OrganizationUnitExtend"; } }
    }
}
